 TOOL.Tab = "SMST319" 
TOOL.Category   = "Main"
 TOOL.Name = "Dacres Tool" 
 TOOL.Command = nil 
 TOOL.ConfigName = nil
   
 TOOL.ClientConVar[ "myparameter" ] = "fubar" 
   
 function TOOL:LeftClick( trace )
 
self:GetOwner():PrintMessage( HUD_PRINTTALK, "Hi There!" )
 return true
 end 
   
 function TOOL:RightClick( trace ) 
 
 return true
 end 
   
 function TOOL.BuildCPanel( panel ) 
 	panel:AddControl("Header", { Text = "Example TOOL", Description = "Just an little example" }) 
 	 
 	panel:AddControl("CheckBox", { 
 	    Label = "A Boolean Value", 
 	    Command = "example_bool" 
 	}) 
 	panel:AddControl("Slider", { 
 	    Label = "Example Number", 
 	    Type = "Float", 
 	    Min = "0", 
 	    Max = "10000", 
 	    Command = "example_number" 
 	}) 
 	 
 	panel:AddControl("Color", { 
 	    Label = "A Color", 
 	    Red = "example_color_r", 
 	    Blue = "example_color_b", 
 	    Green = "example_color_g", 
 	    Alpha = "example_color_a", 
 	    ShowHSV = 1, 
 	    ShowRGB = 1, 
 	    Multiplier = 255 //You can change this to make the rgba values go up to any value 
 	}) 
 end  